function lock = getPID_ZN(Kc, Pv)
    tI = Pv/2.0; tD = Pv/8.0;
    lock.pVal = Kc/1.7;
    lock.iVal = lock.pVal/tI;
    lock.dVal = lock.pVal*tD;    
end


